//跨域代理前缀
// const API_PROXY_PREFIX='/api'
// const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
const BASE_URL = process.env.VUE_APP_API_BASE_URL
module.exports = {
  LOGIN: `${BASE_URL}/auth/login`,
  ROUTES: `${BASE_URL}/auth/routes`,
  PUBLICDATA: `${BASE_URL}/public/getpublicdata`,
  CITYLIST: `${BASE_URL}/public/getcitylist`,
  USERPAGELIST: `${BASE_URL}/sysuser/getuserlist`,
  SAVEUSER: `${BASE_URL}/sysuser/saveuser`,
  ROLELIST: `${BASE_URL}/sysuser/getrolelist`,
  SAVEROLE: `${BASE_URL}/sysuser/saverole`,
  FUNLIST: `${BASE_URL}/sysuser/getfunlist`,
  GETFUN: `${BASE_URL}/sysuser/getfun`,
  SAVEFUN: `${BASE_URL}/sysuser/savefun`,
  DELFUN: `${BASE_URL}/sysuser/delfun`,
  GETROLEFUNS: `${BASE_URL}/sysuser/getrolefuns`,
  SAVEROLEFUNS: `${BASE_URL}/sysuser/saverolefuns`,
  SAVEMYINFO: `${BASE_URL}/sysuser/savemyinfo`,
  SAVEMYPWD: `${BASE_URL}/sysuser/savemypwd`,
  EXCHANGERATELIST: `${BASE_URL}/exchangerate/getlist`,
  EXCHANGERATEUPDATE: `${BASE_URL}/exchangerate/update`,
  EXCHANGERATEDELETE: `${BASE_URL}/exchangerate/delete`,
  COMMISSIONLIST: `${BASE_URL}/commission/getlist`,
  COMMISSIONUPDATE: `${BASE_URL}/commission/update`,
  COMMISSIONDELETE: `${BASE_URL}/commission/delete`,
  SUPPLIERHOTELLIST: `${BASE_URL}/supplier/gethotellist`,
  SUPPLIERHOTEL: `${BASE_URL}/supplier/gethotel`,
  SUPPLIERROOMLIST: `${BASE_URL}/supplier/getroomlist`,
  SUPPLIERCONFIGLIST: `${BASE_URL}/supplier/getconfiglist`,
  SUPPLIERROOMDELETE: `${BASE_URL}/supplier/deleterooms`,
  SUPPLIERROOMRESTORE: `${BASE_URL}/supplier/restorerooms`,
  DISTRIBUTORHOTELLIST: `${BASE_URL}/distributor/gethotellist`,
  DISTRIBUTORADDHOTEL: `${BASE_URL}/distributor/addhotels`,
  DISTRIBUTORSETCITY: `${BASE_URL}/distributor/setcities`,
  DISTRIBUTORSETONLINE: `${BASE_URL}/distributor/setonline`,
  DISTRIBUTORSETOFFLINE: `${BASE_URL}/distributor/setoffline`,
  DISTRIBUTORCONFIGLIST: `${BASE_URL}/distributor/getconfiglist`,
  DISTRIBUTORSAVECONFIG: `${BASE_URL}/distributor/saveconfig`,
  DISTRIBUTORSUPPLIERSETTINGLIST: `${BASE_URL}/distributor/getsuppliersettinglist`,
  DISTRIBUTORSAVESUPPLIERSETTING: `${BASE_URL}/distributor/savesuppliersetting`,
  DISTRIBUTORHOTELSETTINGLIST: `${BASE_URL}/distributor/gethotelsettinglist`,
  DISTRIBUTORSAVEHOTELSETTING: `${BASE_URL}/distributor/savehotelsetting`,
  DISTRIBUTORDELETEHOTELSETTING: `${BASE_URL}/distributor/deletehotelsetting`,
  DISTRIBUTORHOTEL: `${BASE_URL}/distributor/gethotel`,
  DISTRIBUTORROOMLIST: `${BASE_URL}/distributor/getroomlist`,
  DISTRIBUTORPUSHHOTEL: `${BASE_URL}/distributor/pushhotelinfo`,
  DISTRIBUTORPUSHROOM: `${BASE_URL}/distributor/pushroominfo`,
  DISTRIBUTORPUSHDELETE: `${BASE_URL}/distributor/pushdeletehotel`,
  DISTRIBUTORQUERYPUSH: `${BASE_URL}/distributor/querypushresult`,
  HOTELLIST: `${BASE_URL}/hotel/gethotellist`,
  HOTEL: `${BASE_URL}/hotel/gethotel`,
  HOTELUPDATE: `${BASE_URL}/hotel/updatehotel`,
  HOTELDELETE: `${BASE_URL}/hotel/deletehotel`,
  ROOMLIST: `${BASE_URL}/hotel/getroomlist`,
  ROOMUPDATE: `${BASE_URL}/hotel/updateroom`,
  ROOMDELETE: `${BASE_URL}/hotel/deleterooms`,
  ROOMRESTORE: `${BASE_URL}/hotel/restorerooms`,
  ADDUPDATELOG: `${BASE_URL}/updatelog/add`,
  UPDATELOGLIST: `${BASE_URL}/updatelog/getlist`,
  MAPPINGLIST: `${BASE_URL}/mapping/getmappinglist`,
  MAPPINGPAGELIST: `${BASE_URL}/mapping/getmappingpagelist`,
  SAVEMAPPING: `${BASE_URL}/mapping/savemapping`,
  ADDNEWHOTEL: `${BASE_URL}/mapping/addnewhotel`,
  CANCELMAPPING: `${BASE_URL}/mapping/cancelmapping`,
  ROOMMAPPINGLIST: `${BASE_URL}/mapping/getroommappinglist`,
  UNROOMMAPPINGLIST: `${BASE_URL}/mapping/getunmappingrooms`,
  SAVEROOMMAPPINGS: `${BASE_URL}/mapping/saveroommappings`,
  CANCELROOMMAPPING: `${BASE_URL}/mapping/cancelroommapping`,
  ORDERLIST: `${BASE_URL}/order/getlist`,
  ORDERDETAIL: `${BASE_URL}/order/getdetail`,
  ORDERUPDATESTATUS: `${BASE_URL}/order/updateorderstatus`,
  ORDERUPDATECONFIRMNO: `${BASE_URL}/order/updatehotelconfirmno`,
  ORDERPUSHCONFIRMNO: `${BASE_URL}/order/pushhotelconfirmno`,
  ORDERPUSHCONFIRMROOM: `${BASE_URL}/order/pushconfirmroom`,
  RATESEARCH: `${BASE_URL}/booking/searchrate`,
  RATECONFIRM: `${BASE_URL}/booking/confirmrate`,
  RESERVATION: `${BASE_URL}/booking/reservation`,
  CANCELSUPPLIERORDER: `${BASE_URL}/booking/cancelSupplierOrder`,
  STATISTICGETTOTALSALE: `${BASE_URL}/statistic/gettotalsale`,
  STATISTICGETTOTALSALEDAILY: `${BASE_URL}/statistic/gettotalsaledaily`,
}
